package JDBC;


import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;

public class Demo {


   public static void main(String[] args) throws ClassNotFoundException, SQLException {
     Class.forName("com.mysql.jdbc.Driver");
     Connection con =  DriverManager.getConnection(
             "jdbc:mysql://localhost:3306/world?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC",
             "root",
             "1234");
      System.out.println(con);
      Statement statement =  con.createStatement();

   }

}
